#include "stack.h"

void test0()
{
	ST st;
	STInit(&st);
	STPush(&st, 1);
	STPush(&st, 2);
	STPush(&st, 3);
	STPush(&st, 4);
	STPush(&st, 5);
	STPop(&st);
	
	while (!STEmpty(&st))
	{
		int top = STTop(&st);
		printf("%d ", top);
		STPop(&st);
	}

	STDestroy(&st);

}
int main()
{
	test0();



}